package Rainwater.baen.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author cfy
 * @date 2024/10/18
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Point {
    private Integer pId;
    private String pName;
    private String pProvince;
    private String pCity;
    private String pDistrict;
    private Double pX;
    private Double pY;
    public String getAddress(){
        StringBuffer buffer = new StringBuffer();
        buffer.append(pProvince).append(pCity).append(pDistrict);
        return buffer.toString();
    }
}
